-module(guards).
-export([a/2, b/2]).

a(X, Y) when element(1, X) =:= yes orelse Y =:= 1->
    yes;
a(_, _) ->
    no.

b(X, Y) when element(1, X) =:= yes ; Y =:= 1->
    yes;
b(_, _) ->
    no.